package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订票订单信息对象 ticket_order
 *
 * @author ruoyi
 * @date 2022-01-22
 */
public class TicketOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /** 订票人识别 */
    @Excel(name = "订票人识别")
    private String orderName;

    /** 订票场次(show_time主键) */
    @Excel(name = "订票场次(show_time主键)")
    private Long showTimeId;

    /** 订票张数 */
    @Excel(name = "订票张数")
    private Integer ticketCount;

    /** 订票座位号 */
    @Excel(name = "订票座位号")
    private String seatId;

    /** 电影ID */
    @Excel(name = "电影ID")
    private Long movieId;

    /** 电影名 */
    @Excel(name = "电影名")
    private String movieName;

    /** 实际看电影时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际看电影时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date watchTime;

    /** 电影票价 */
    @Excel(name = "电影票价")
    private BigDecimal price;

    /** 实付价格 */
    @Excel(name = "实付价格")
    private BigDecimal payPrice;

    /** 是否删除作废，0否，1删除 */
    @Excel(name = "是否删除作废，0否，1删除")
    private Integer isDel;

    /** 操作者Id */
    @Excel(name = "操作者Id")
    private Long operateId;

    /** 操作者用户名 */
    @Excel(name = "操作者用户名")
    private String operateName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderTime(Date orderTime)
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime()
    {
        return orderTime;
    }
    public void setOrderName(String orderName)
    {
        this.orderName = orderName;
    }

    public String getOrderName()
    {
        return orderName;
    }
    public void setShowTimeId(Long showTimeId)
    {
        this.showTimeId = showTimeId;
    }

    public Long getShowTimeId()
    {
        return showTimeId;
    }
    public void setTicketCount(Integer ticketCount)
    {
        this.ticketCount = ticketCount;
    }

    public Integer getTicketCount()
    {
        return ticketCount;
    }
    public void setSeatId(String seatId)
    {
        this.seatId = seatId;
    }

    public String getSeatId()
    {
        return seatId;
    }
    public void setMovieId(Long movieId)
    {
        this.movieId = movieId;
    }

    public Long getMovieId()
    {
        return movieId;
    }
    public void setMovieName(String movieName)
    {
        this.movieName = movieName;
    }

    public String getMovieName()
    {
        return movieName;
    }
    public void setWatchTime(Date watchTime)
    {
        this.watchTime = watchTime;
    }

    public Date getWatchTime()
    {
        return watchTime;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setPayPrice(BigDecimal payPrice)
    {
        this.payPrice = payPrice;
    }

    public BigDecimal getPayPrice()
    {
        return payPrice;
    }
    public void setIsDel(Integer isDel)
    {
        this.isDel = isDel;
    }

    public Integer getIsDel()
    {
        return isDel;
    }
    public void setOperateId(Long operateId)
    {
        this.operateId = operateId;
    }

    public Long getOperateId()
    {
        return operateId;
    }
    public void setOperateName(String operateName)
    {
        this.operateName = operateName;
    }

    public String getOperateName()
    {
        return operateName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderTime", getOrderTime())
                .append("orderName", getOrderName())
                .append("showTimeId", getShowTimeId())
                .append("ticketCount", getTicketCount())
                .append("seatId", getSeatId())
                .append("movieId", getMovieId())
                .append("movieName", getMovieName())
                .append("watchTime", getWatchTime())
                .append("price", getPrice())
                .append("payPrice", getPayPrice())
                .append("isDel", getIsDel())
                .append("operateId", getOperateId())
                .append("operateName", getOperateName())
                .toString();
    }
}